﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<#include "/pages/include/include.ftl" />
<@h.js src="/ckeditor/ckeditor.js"/>
</head>
<style>
.l-table-edit {width:900px;margin:0px auto;}

.l-table-edit .l-table-edit-td{ padding:4px;}
</style>
<body>
<form id="addform" method="post" action="category-desc.action">
<table cellpadding="0" cellspacing="0" class="l-table-edit">
<tr>
<td class="l-table-edit-td">
${jsonResult?if_exists}
</td>
</tr>
<tr>
<td class="l-table-edit-td">

        <textarea id="editor" name="content.contStr" style="width:90%;">${content?if_exists.contString?if_exists}</textarea>
        <input type="hidden" name="content.id" value="${content?if_exists.id?if_exists}"/>
        <input type="hidden" name="id" value="${id?if_exists}"/>
</td>
</tr>
<tr>
<td class="l-table-edit-td" style="padding-left:430px;">
        <input type="submit" value="保存" style="width:40px;"/>

</td>
</tr>
</table>
</form>
<script type="text/javascript">
 CKEDITOR.replace('editor'); 
</script>
</body>

</html>
